package com.trace.app.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.trace.app.entity.ResponseResult;
import com.trace.app.entity.Star;


/**
 * (Star)表服务接口
 *
 * @author lionkliu
 * @since 2024-04-22 09:44:22
 */
public interface StarService extends IService<Star> {
    ResponseResult selectPage(Integer pageNum, Integer pageSize);

    ResponseResult selectOne(Integer userId, Integer proId);

    ResponseResult insertOne(Star star);

    ResponseResult deleteById(Integer id);

    ResponseResult updateOne(Star star);

    ResponseResult delete(Integer userId, Integer proId);

    ResponseResult getStarsByUserId(Integer userId);
}

